Total Complexity | 57 |
Dependencies | 15 |
Dependents | 3 |
Total lines | 512 |
Lines of code | 281 |
Logical lines of code | 132 |
Comment lines | 122 |
Methods | 15 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
buildDataTable() | 36 | 18 | 76 | |
calculateEvolutionPercentages() | 50 | 6 | 27 | |
setMetricsTotalsMetadata() | 55 | 6 | 20 | |
getApiMetrics() | 46 | 4 | 45 | |
getSitesIdFromPattern() | 52 | 5 | 25 | |
getAll() | 56 | 4 | 20 | |
setPastTotalVisitsMetadata() | 61 | 3 | 12 | |
populateLabel() | 62 | 3 | 12 | |
preformatApiMetricsForTotalsCalculation() | 66 | 2 | 8 | |
getOne() | 61 | 1 | 14 | |
getSiteFromId() | 73 | 1 | 5 | |
filterRowsForTotalsCalculation() | 76 | 1 | 4 | |
getTotalMetadataName() | 80 | 1 | 3 | |
getLastPeriodMetadataName() | 80 | 1 | 3 | |
isEcommerceEvolutionMetric() | 69 | 1 | 7 |